package com.testingedu.action.front;

import com.testingedu.action.background.RequestContext;
import com.testingedu.jdbcDao.TUserDao;

public class TeacherAction extends RequestContext{

	private static final long serialVersionUID = -7815934677933995510L;
	private TUserDao tUserDao = new TUserDao();
	
	public void list_() throws Exception {
		createQueryResult();
		tUserDao.list(queryResult, null, "教师");
		request.setAttribute("queryResult", queryResult);
		request.getRequestDispatcher("/teacher/list.jsp").forward(request, response);
	}
}
